#define _CRT_SECURE_NO_WARNINGS 1



BTNode* BinaryTreeFind(BTNode* root, BTDataType x)
{
	if (root == NULL)
	{
		return NULL;
	}
	if (root->val == x)
	{
		return root;
	}
	BTNode* lret = BinaryTree(root->left);
	if(lret)
	{
		return lret;
	}
	
	BTNode*rret=BinaryTreeFind(root->right, x);
	if (rret)
	{
		return rret;
	}
		return NULL;
}